package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.pojos.domain.ChatList;
import com.campus.pojos.domain.vo.ChatListVo;
import com.campus.result.Result;

import java.util.List;

public interface ChatListService extends IService<ChatList> {
    Result<List<ChatListVo>> chatList(Long id);

    void read(Long loginUserId, Long toUserId);
}
